package com.itmuch.cloud.moviecustomer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.itmuch.cloud.moviecustomer.entity.User;

@FeignClient("movie-service")
public interface UserFeign {
	
	@RequestMapping(method = RequestMethod.GET, value = "/findUserByid/{id}")
    User findUserByid(@PathVariable("id") Long id);

}
